
package edu.wpi.first.wpilibj.templates.commands;

import edu.wpi.first.wpilibj.templates.*;
import edu.wpi.first.wpilibj.command.CommandGroup;

//import edu.wpi.first.wpilibj.templates.commands.DoDriveDistance;


/**
 *
 * @author Jaren Marler
 */
public class DoAutoShoot7 extends CommandGroup {
    public DoAutoShoot7(){
        
        addSequential(new DoProFlightDelay());
        addSequential(new DoAutoShoot3());
        addSequential(new DoCollectorFeederPosition());
        
        // Distance from rear of pyramid to front discs
        double d = (94.0 + 50.0 + 20.0) / 12.0;
        addSequential(new DoDriveDistance(1.0, d));
        addSequential(new DoCollectorInit());
        addSequential(new DoDriveDistance(1.0, -d));
        addSequential(new DoAutoShoot2(false));
        addSequential(new DoAutoShoot2(false));
    }
}